import { createRouter, createWebHashHistory } from 'vue-router';
import clientRoutes from '@/router/clientRoutes';
import rendererRoutes from '@/router/rendererRoutes';
import singleRoutes from '@/router/singleRoutes';


const router = createRouter({
    history: createWebHashHistory(),
    routes: [...rendererRoutes, ...clientRoutes, ...singleRoutes],
});

router.beforeEach((to, from, next) => {
    next();
});

export default router;